TlsConnection.getProtocolVersion

Returns the current TLS protocol version, which may be %G_TLS_PROTOCOL_VERSION_UNKNOWN if the connection has not handshaked, or has been closed, or if the TLS backend has implemented a protocol version that is not a recognized #GTlsProtocolVersion.

class TlsConnection
getProtocolVersion
()

Return Value

The current TLS protocol version

Meta

Since

2.70